package com.brush.pig.service;

import com.brush.pig.domain.IotTask;
import com.baomidou.mybatisplus.extension.service.IService;
import com.brush.pig.domain.req.task.IotTaskAddReq;
import com.brush.pig.domain.req.task.IotTaskEditReq;
import com.brush.pig.domain.req.task.IotTaskReq;
import com.brush.pig.domain.resp.task.IotTaskResp;
import com.github.pagehelper.PageInfo;

/**
* @author ckq
* @description 针对表【iot_task(任务)】的数据库操作Service
* @createDate 2024-11-13 09:03:42
*/
public interface IotTaskService extends IService<IotTask> {

    PageInfo<IotTaskResp> pagination(IotTaskReq req);

    boolean add(IotTaskAddReq req);

    IotTaskResp findById(Long id);

    boolean edit(IotTaskEditReq req);

    boolean deleteById(Long[] ids);
}
